'''已知列表li_one = [1,2,1,2,3,5,4,3,5,7,4,7,8],请删除列表li_one中的重复数据'''
li_one = [1,2,1,2,3,5,4,3,5,7,4,7,8]
li = []
for i in li_one:
    if i not in li:
        li.append(i)
    if i in li:
        continue
print(li)

